<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>注册</title>

    <link rel="stylesheet" href="./static/css/font-awesome-4.7.0/css/font-awesome.min.css">
    <link rel="stylesheet" href="./static/css/style.css">

</head>
<body>

<div class="materialContainer">
    <div class="box">
        <form action="${pageContext.request.contextPath}/UserServlet?action=Login" method="post">
        <div class="title">登录</div>
        <div class="input">
            <label for="name">用户名</label>
            <input type="text" name="username" id="name">
            <span class="spin"></span>
        </div>
        <div class="input">
            <label for="pass">密码</label>
            <input type="password" name="password" id="pass">
            <span class="spin"></span>
        </div>
        <div class="button login">
            <button>
                <span>登录</span>
                <i class="fa fa-check"></i>
            </button>
        </div>
        </form>
        <a href="${pageContext.request.contextPath}/User/forgetPwd.jsp" class="pass-forgot">忘记密码？</a>
    </div>

    <div class="overbox">
        <form action="${pageContext.request.contextPath}/UserServlet?action=Register" method="post">
        <div class="material-button alt-2">
            <span class="shape"></span>
        </div>
        <div class="title">注册</div>
        <div class="input">
            <label for="regname">用户名</label>
            <input type="text" name="username" id="regname">
            <span class="spin"></span>
        </div>
        <div class="input">
            <label for="regpass">手机号</label>
            <input type="text" name="tel" id="regpass">
            <span class="spin"></span>
        </div>
        <div class="input">
            <label for="reregpass">确认密码</label>
            <input type="password" name="password" id="reregpass">
            <span class="spin"></span>
        </div>

        <div class="button">
            <button>
                <span>注册</span>
            </button>
        </div>
        </form>
    </div>

</div>

<script src="./static/js/jquery.min.js"></script>
<script src="./static/js/index.js"></script>
</body>
</html>
